package com.hjm.project.banner.info.domain;

import com.hjm.framework.aspectj.lang.annotation.Excel;
import com.hjm.framework.web.domain.BaseEntity;
import org.apache.commons.lang.builder.ToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

/**
 * 首页banner图对象 banner_info
 * 
 * @author generator
 * @date 2020-11-26
 */
public class BannerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private Long id;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 图片地址 */
    @Excel(name = "图片地址")
    private String url;

    /** 状态 */
    @Excel(name = "状态")
    private Long status;

    /** 用户类型 */
    @Excel(name = "用户类型")
    private Long type;

    /** 链接地址 */
    @Excel(name = "链接地址")
    private String hrelUrl;

    /** 类型 */
    @Excel(name = "类型")
    private Long mold;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setTitle(String title)
    {
        this.title = title;
    }

    public String getTitle()
    {
        return title;
    }
    public void setUrl(String url)
    {
        this.url = url;
    }

    public String getUrl()
    {
        return url;
    }
    public void setStatus(Long status)
    {
        this.status = status;
    }

    public Long getStatus()
    {
        return status;
    }
    public void setType(Long type)
    {
        this.type = type;
    }

    public Long getType()
    {
        return type;
    }
    public void setHrelUrl(String hrelUrl)
    {
        this.hrelUrl = hrelUrl;
    }

    public String getHrelUrl()
    {
        return hrelUrl;
    }
    public void setMold(Long mold)
    {
        this.mold = mold;
    }

    public Long getMold()
    {
        return mold;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("url", getUrl())
            .append("status", getStatus())
            .append("type", getType())
            .append("hrelUrl", getHrelUrl())
            .append("mold", getMold())
            .toString();
    }
}
